 {% extends 'base.html'%}
 {% block content %}
    <ul>
        <li>
            <span>用户名:</span>
            <span>{{user.username}}</span>
        </li>
        <li>
            <span>邮箱:</span>
            <span>{% if user.email %}{{user.email}}{% else%} 请绑定邮箱 {% endif %}</span>
        </li>
        <li>
            <span>最后登陆时间:</span>
            <span>{{user.last_login}}</span>
        </li>
    </ul>
 {% endblock content %}